FROM openjdk:11
ENV env_name ${env_name}
WORKDIR /usr/project/${env_name}/${service_name}/app/
COPY  /service/modules/${service_name}/target/*.jar  /usr/project/${env_name}/${service_name}/app/app.jar
ENTRYPOINT ["nohup","java", "-jar","/app/app.jar","&"]
